package com.yanqu.road.entity.npc;


import com.yanqu.road.entity.DataObject;

//npc对话事件
public class UserNpcTalk extends DataObject {

    private long userId;

    private int no;

    private int eventId;

    private String reward;

    private int status;

    private long refreshTime;

    private boolean isGetReward;


    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        if(userId != this.userId){
            this.userId = userId;
            setUpdateOption();
        }
    }

    public int getNo() {
        return no;
    }

    public void setNo(int no) {
        if(no != this.no){
            this.no = no;
            setUpdateOption();
        }
    }

    public int getEventId() {
        return eventId;
    }

    public void setEventId(int eventId) {
        if(eventId != this.eventId){
            this.eventId = eventId;
            setUpdateOption();
        }
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        if(!reward.equals(this.reward)){
            this.reward = reward;
            setUpdateOption();
        }
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        if(status != this.status){
            this.status = status;
            setUpdateOption();
        }
    }

    public long getRefreshTime() {
        return refreshTime;
    }

    public void setRefreshTime(long refreshTime) {
        if(refreshTime != this.refreshTime){
            this.refreshTime = refreshTime;
            setUpdateOption();
        }
    }

    public boolean isGetReward() {
        return isGetReward;
    }

    public void setGetReward(boolean getReward) {
        if(getReward != this.isGetReward){
            this.isGetReward = getReward;
            setUpdateOption();
        }
    }
}
